C++ HTTP handlers - Module Bindings#5023
Merged
JasonAtClockwork merged 16 commits intoMay 22, 2026
Merged
Conversation
rekhoff
approved these changes
May 16, 2026
Contributor
rekhoff
left a comment
There was a problem hiding this comment.
I've tested these changes using some local throw-away test projects, and everything seems to work as intended, and function like the Rust-side changes do.
I have some minor nits, but they are optional items, not critical changes.
Marking my approval, looks good to me.
…nto jlarabie/http-handler-cpp
6307a68
into
phoebe/http-handlers-webhooks
24 of 25 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of Changes
Adding C++ HTTP handlers based on #4636
SPACETIMEDB_HTTP_HANDLER(),SPACETIMEDB_HTTP_ROUTER()API and ABI breaking changes
New APIs for http handler and router behind
SPACETIMEDB_UNSTABLE_FEATURESand should not be breaking.Expected complexity level and risk
3 - this touches the C++ binding surface, runtime/module registration, and the smoketest/docs paths, so there is more churn than I’d like, but it is still fairly contained to the C++ HTTP work.
Testing
crates/smoketests/tests/smoketests/http_routes.rswith C++ mirrors of the Rust HTTProute tests
docs/docs/00200-core-concepts/00200-functions/00600-HTTP- handlers.mdI also did some manual testing with a throw away project